﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="M_NET.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1 {
            height: 20px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table>
            <tr>
                <td class="style1">
                    曲名
                </td>
                <td class="style1">
                    分类
                </td>
                <td class="style1">
                    作者
                </td>
                <td class="style1">
                    上传时间
                </td>
                <td class="style1">
                    播放次数
                </td>
                <td class="style1">
                    试听
                </td>
                <td class="style1">
                    删除
                </td>
            </tr>
            <asp:Repeater ID="RepSeatchMemSong" runat="server">
                <ItemTemplate>
                    <tr>
                        <td>
                            <%# StringTruncat(Eval("user_no").ToString(), 10, "...")%>
                        </td>
                        <td>
                            <%# StringTruncat(Eval("user_id").ToString(), 7, "...")%>
                        </td>
                        <td>
                            <%# StringTruncat(Eval("user_pwd").ToString(), 7, "...")%>
                        </td>
                        <td>
                            <%# Eval("register_time")%>
                        </td>
                        <td>
                            <%# Eval("last_login_time")%>
                        </td>
                        <td>
                            <%# Eval("last_login_ip")%>
                        </td>
                        <td>
                            <a href='../play.aspx?id=<%# Eval("user_id") %>' target="_blank">试听</a>
                        </td>
                        <td>
                            <asp:LinkButton ID="lbtnDel" OnClientClick="return confirm('确认是否删除')"
                                CommandArgument='<%# Eval("user_id") %>' runat="server">删除</asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <br />
    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
    <br />
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
    <br />
    <br />
    <br />
    <asp:TextBox ID="TextBox3" runat="server" Height="110px" TextMode="MultiLine" 
        Width="244px"></asp:TextBox>
    <br />
    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Button" />
    </form>
</body>
</html>
